package com.bw.zhuangao5___day002.Fragment.Movies.One.Day3.SQL;

import android.content.Context;
import android.database.sqlite.SQLiteDatabase;
import android.database.sqlite.SQLiteOpenHelper;

import androidx.annotation.Nullable;

/**
 * 类名： SQLoneday3
 * 作者： Android工程师杨晨
 * 日期： 2021/9/30 16:13
 * DAO：  ZhuanGao5___Day002
 */
public class SQLoneday3 extends SQLiteOpenHelper {

    public SQLoneday3(@Nullable Context context, @Nullable String name, @Nullable SQLiteDatabase.CursorFactory factory, int version) {
        super(context, name, factory, version);
    }

    @Override
    public void onCreate(SQLiteDatabase db) {
        db.execSQL("create table quyang (name varchar(200),pic varchar(200),stringname varchar(200),cialiao varchar(220),num integer)");
    }

    @Override
    public void onUpgrade(SQLiteDatabase db, int oldVersion, int newVersion) {

    }
}
